<?php defined('BASEPATH') or exit('No direct script access allowed'); ?>

<?php
	$USER = getAccountUserObject();
	$ESCORT = $this->escort_entity->init('user_id',$USER->getId());
	$countUnread = $this->escort_message_thread_entity->countAllUnreadMessagesOfUser($ESCORT->getId(),USER_TYPE_ESCORT);	 
?>
<div id="content-right">
	<div class="content-right-column">
		<ul>
			<li><a href="<?php echo site_url_lang("escorts/account/messages");?>"><span class="unread_number"><?php echo $countUnread;?></span> <?php echo language_translate('right_nav_unread_message');?></a></li>
			<li><a href="<?php echo site_url_lang("escorts/account/edit");?>"><?php echo language_translate('right_nav_edit_account');?></a></li>
		<!--	<li><a href="#">Payment data</a></li>	
			<li><a href="#">My wallet (325€)</a></li> -->
			<li><a href="<?php echo site_url_lang("escorts/account/payment_history");?>"><?php echo language_translate('right_nav_payment_history');?></a></li>
			<li><a href="<?php echo site_url_lang("escorts/account/services");?>"><?php echo language_translate('right_nav_account_services');?></a></li>
			<li><a href="<?php echo site_url_lang("escorts/account/support");?>"><?php echo language_translate('right_nav_support');?></a></li>
			<li><a href="<?php echo site_url_lang("escorts/account/log_actions");?>"><?php echo language_translate('right_nav_log_actions');?></a></li>
		</ul>
	</div>
	<div class="content-right-column">
		<?php $this->load->view('banner/right_banner',array('pos'=>'escorts') ); ?>
	</div>


</div>
<div class="clear"></div>



<div class="bottom-content-wrapper">
	<?php $this->load->view('news/list_news',array('pos'=>'escorts') ); ?>
</div>
<div class="bottom-content-wrapper">
	<?php $this->load->view('banner/bottom_banner',array('pos'=>'escorts') ); ?>
</div> 